package com.ziyun.erp.modules.service.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import com.ziyun.erp.modules.service.dao.ServiceRegisterLogDao;
import com.ziyun.erp.modules.service.entity.ServiceRegisterLogEntity;
import com.ziyun.erp.modules.service.service.ServiceRegisterLogService;


@Service("serviceRegisterLogService")
public class ServiceRegisterLogServiceImpl extends ServiceImpl<ServiceRegisterLogDao, ServiceRegisterLogEntity> implements ServiceRegisterLogService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<ServiceRegisterLogEntity> page = this.selectPage(
                new Query<ServiceRegisterLogEntity>(params).getPage(),
                new EntityWrapper<ServiceRegisterLogEntity>()
        );

        return new PageUtils(page);
    }

}
